package com.kokuma.drawsprite.common;

import java.io.Serializable;
import java.util.List;

public class NormalReturnSuccessBean extends NormalReturnValue implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Params params;

	public class Params {
		String flag = "0";
		String message = "调用成功";
		List<Object> list;
		Object info;

		public String getFlag() {
			return flag;
		}

		public void setFlag(String flag) {
			this.flag = flag;
		}

		public String getMessage() {
			return message;
		}

		public void setMessage(String message) {
			this.message = message;
		}

		public List<Object> getList() {
			return list;
		}

		public void setList(List<Object> list) {
			this.list = list;
		}

		public Object getInfo() {
			return info;
		}

		public void setInfo(Object info) {
			this.info = info;
		}

		@Override
		public String toString() {
			return "params [flag=" + flag + ", message=" + message + ", list=" + list + ", info=" + info + "]";
		}
	}

	public NormalReturnSuccessBean() {
		this.setParams(new Params());
	}

	public Params getParams() {
		return params;
	}

	public void setParams(Params params) {
		this.params = params;
	}

	@Override
	public String toString() {
		return "NormalReturnSuccessBean [params=" + params + "]";
	}

}
